package TestCases;

import static org.junit.Assert.*;

import org.junit.Test;

import updater.currency.convertor.ReadRSS;

public class ReadRSSTestCase {

	@Test
	public void TestCase1_ReadCurrencyFromXML() {
		//Data : valid symbol
		ReadRSS readRSS = new ReadRSS();
		readRSS.ReadCurrencyFromXML("JPY");
	}
	
	@Test
	public void TestCase2_ReadCurrencyFromXML() {
		//Data : invalid symbol
		ReadRSS readRSS = new ReadRSS();
		readRSS.ReadCurrencyFromXML("ABC");
	}
	
	@Test
	public void TestCase1_ReadAllCurrencyFromRRS() {
	// Test the over-all process of the rss
		ReadRSS readRSS = new ReadRSS();
		readRSS.ReadAllCurrencyFromRSS();
	}
	
	@Test
	public void TestCase1_GetCurrencyNameList()
	{
		ReadRSS  readRSS = new ReadRSS();
		readRSS.GetCurrencyNameList("XXX");
		
	}
}
